home *** CD-ROM | disk | FTP | other *** search
- on prepareMovie
- getAdData()
- importAds()
- importRolls()
- end
-
- on startMovie
- if the optionDown = 1 then
- go("import")
- else
- nothing()
- end if
- openXLib(the pathName & "xtras:FileIOXtraFat")
- set gOSDir to getOSDirectory()
- put gOSDir & "Preferences:" into field "OSPath"
- put gOSDir & "Preferences:Browser.txt" into field "ThePath"
- loadBrowser()
- end
-
- on enterFrame
- global whatchtalkinboutwillis
- pointCursor(2)
- repeat with x = 1 to whatchtalkinboutwillis
- pointCursor(x + 3)
- end repeat
- set the visible of sprite 2 to rollOver(2)
- end
-
- on pointCursor spriteNum
- set the cursor of sprite spriteNum to [the number of member "pointer", the number of member "pointer.mask"]
- end
-
- on buttonClick whichSprite
- puppetSprite(whichSprite, 1)
- set the locV of sprite whichSprite to the locV of sprite whichSprite + 1
- set the locH of sprite whichSprite to the locH of sprite whichSprite + 1
- updateStage()
- end
-
- on launchWebThingy whichURL
- global gBrowser
- loadBrowser()
- if field "browser" = EMPTY then
- NoBrowserU()
- else
- gotoNetPage(whichURL)
- end if
- end
-
- on NoBrowserU
- alert("You must select a Web Browser to link to this information. Please select one now.")
- openconfigwindow()
- end
-
- on loadBrowser
- global myfile
- set myfile to new(xtra("fileio"))
- set finalPath to field "OSPath"
- openFile(myfile, finalPath & "Browser.txt", 1)
- set theBrowser to readLine(myfile)
- put theBrowser into field "browser"
- closeFile(myfile)
- set myfile to 0
- enableBrowser()
- end
-
- on enableBrowser
- browserName(the text of field "browser")
- browserName(#enabled, 1)
- end
-